
const initValue = {
  }
  export default function article(state = initValue, action) {
    if (action.type === 'GET_CHANNEL_LIST') {
      return {
        ...state,
        channels: action.payload
      }
    }
    if (action.type === 'GET_ARTICLE_LIST') {
      return {
        ...state,
       ...action.payload
      }
    }
    return state
  }